package com.pks.datacenter.service.api;

import java.util.List;

import com.pks.datacenter.entity.api.ApiMethod;
import com.pks.resultful.common.SRemoteResult;
import com.pks.web.mybatis.service.BasicService;

public interface ApiMethodService extends BasicService<ApiMethod, Long> {

	ApiMethod findByMethodName(String methodName);

	SRemoteResult<String> insertOrModify(ApiMethod obj, String apiFieldsJson);

	SRemoteResult<String> deleteApiMethods(List<Long> ids);

	SRemoteResult<String> insertByCopy(Long id);

}
